const { defineConfig } = require('@vue/cli-service')
module.exports = defineConfig({
  transpileDependencies: true,
  devServer: {
    // 配置代理解决请求其他网站接口的跨域问题
    proxy: {
      '/iogames': {
        target: 'https://iogames.space',
        changeOrigin: true,
        pathRewrite: {
          '^/iogames': ''
        },
        ws: false
      }
    }
  }
})
